package com.csun.cmny.provider.service;

import com.csun.cmny.core.support.IService;
import com.csun.cmny.provider.model.domain.OmcOldmanStatus;

/**
 * @Auther: chisj chisj@foxmal.com
 * @Date: 2019-09-29 21:51
 * @Description: the interface omc oldman status service
 */
public interface OmcOldmanStatusService extends IService<OmcOldmanStatus> {

    /**
     * 标记老人正在请假中
     *
     * @param oldmanId  the  oldman id
     *
     * @return  the int.
     */
    Integer oldmanLeaveIng(Integer oldmanId);

    /**
     * 标记老人请假结束
     *
     * @param oldmanId  the oldman id
     *
     * @return  tht int.
     */
    Integer oldmanLeaveEnd(Integer oldmanId);

    /**
     * 标记老人正在调房调级
     *
     * @param oldmanId  the oldman id
     *
     * @return  the int.
     */
    Integer oldmanReviseIng(Integer oldmanId);

    /**
     * 标记老人调房调级结束
     *
     * @param oldmanId  the oldman id
     *
     * @return  the int.
     */
    Integer oldmanReviseEnd(Integer oldmanId);

    /**
     * 标记老人正在出院中
     *
     * @param oldmanId    the oldman id
     *
     * @return  the int.
     */
    Integer oldmanOutIng(Integer oldmanId);

    /**
     * 标记老人出院完成
     *
     * @param oldmanId    the oldman id
     *
     * @return  the int.
     */
    Integer oldmanOutEnd(Integer oldmanId);

    /**
     * 根据老人Id查询老人状态
     *
     * @param oldmanId  the oldman id
     *
     * @return  the omc oldman status
     */
    OmcOldmanStatus queryByOldmanId(Integer oldmanId);
}
